<template>
    <div>
        <dl>
            <dt>

            </dt>
            <dd>
                <img src="" alt="">
            </dd>
        </dl>
    </div>
</template>
<script>
import API from '../api/homeApi'
export default {
    data() {
        return {
            cellphone:[]
        }
    },
    created() {
        this.callsFig()
    },
    methods: {
       async callsFig(){
            let res=await API.getHotProduct({"categoryName":["手机"]})
            this.cellphone=res.Product
            console.log(this.cellphone);
        }
    },
}
</script>
<style lang="scss" scoped>
    
</style>